import env from './env'

// const DEV_URL = 'https://www.easy-mock.com/mock/5add9213ce4d0e69998a6f51/iview-admin/'
// const PRO_URL = 'https://produce.com'

// 自定义地址
const DEV_BASE_URL = 'http://localhost:8080' // 开发环境的基础URL
const DEV_URL = DEV_BASE_URL + '/api/' // 前端地址
const PRO_BASE_URL = 'http://localhost:80'
const PRO_URL = PRO_BASE_URL + '/api/'

export default env === 'development' ? DEV_URL : PRO_URL
